package com.gumbo.bookmanager.mapper;

import com.gumbo.bookmanager.pojo.Record;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface RecordMapper {
    List<Record>getAllRecord();
    List<Record>getOwnRecord(String readerId);
    void lendBook(Record record);
}
